<!--  用户登陆日志-->
<template>

  <ex_super_table_page v-bind="option" class="page-container">
  </ex_super_table_page>
</template>
<script>

// import CodeEditor from '@/component/code-editor.vue'

export default {

  title:"label_tms_user_user_login_log",
  components: {},


  data() {
    return {
      option: {
        search: {
          model: [
            { label: "label_fms_bank_card_keyword", key: "keyword", },
            {
              label: "label_srm_contract_template_status", key: "type", type: 'select',
              items: [{ label: 'label_tms_user_login', value: 'login' }, { label: 'label_tms_user_login_out', value: 'logout' }]
            },
            { label: "label_tms_user_time", key: "happenTime1", type: 'date-picker', attrs: { placeholder: 'label_start_time', } },
            { label: "", key: "happenTime2", type: 'date-picker', attrs: { placeholder: 'label_end_time', } },
          ],
        },

        table: {
          url: "/ums-api/user/UserInfoRpc/selectLoginLog.json",
          model: [
            { key: 'type', label: 'label_fms_service_code_type', attrs: { formatter: (r, c, v, i) => { return v == 'login' ? '登陆' : '登出' } } },
            { key: 'loginId', label: 'label_tms_user_login_account' },
            { key: 'name', label: 'label_tms_user_name', },
            { key: 'loginIp', label: 'label_tms_user_ip_address' },
            { key: 'happenTime', label: 'label_tms_user_time', attrs: { formatter: (r, c, v, i) => { return this.$dateFormat(v) } } },
            { key: 'remark', label: 'label_remark' },
          ],
        }
        ,

      },



    };
  },

  created() {

  },

  props: {

  },

  methods: {


  }
};

</script>
<style>

</style>
